<ui:composition template="/WEB-INF/templates/test-template.xhtml"
  xmlns="http://www.w3.org/1999/xhtml"
  xmlns:f="http://java.sun.com/jsf/core"
  xmlns:h="http://java.sun.com/jsf/html"
  xmlns:ui="http://java.sun.com/jsf/facelets"
  xmlns:p="http://primefaces.org/ui"
  xmlns:ats-std="http://java.sun.com/jsf/composite/components/student">

	<ui:define name="main-content">
		<h:form id="newStdFrm">

			<p:tree value="#{treeMB.root}" var="doc" animate="true">
				<p:treeNode expandedIcon="ui-icon-folder-open"
					collapsedIcon="ui-icon-folder-collapsed">
					<h:outputText value="#{doc.name}" />
				</p:treeNode>

				<p:treeNode type="document" icon="ui-icon-document">
					<h:outputText value="#{doc.name}" />
				</p:treeNode>

				<p:treeNode type="picture" icon="ui-icon-image">
					<h:outputText value="#{doc.name}" />
				</p:treeNode>

				<p:treeNode type="mp3" icon="ui-icon-video">
					<h:outputText value="#{doc.name}" />
				</p:treeNode>
			</p:tree>
			<br/>
			<br/>
			<br/>
			<br/>
			
			<p:tree value="#{treeMB.root}" var="doc" animate="true" dir="rtl">
				<p:treeNode expandedIcon="ui-icon-folder-open"
					collapsedIcon="ui-icon-folder-collapsed">
					<h:outputText value="#{doc.name}" />
				</p:treeNode>

				<p:treeNode type="document" icon="ui-icon-document">
					<h:outputText value="#{doc.name}" />
				</p:treeNode>

				<p:treeNode type="picture" icon="ui-icon-image">
					<h:outputText value="#{doc.name}" />
				</p:treeNode>

				<p:treeNode type="mp3" icon="ui-icon-video">
					<h:outputText value="#{doc.name}" />
				</p:treeNode>
			</p:tree>			
			


		</h:form>
	</ui:define>
	
</ui:composition>



